package com.hbnrtech.sip.datasource.config;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 数据源注解，规定：该注解只能用于service层
 * @author liuduo
 * @date 2023/5/13 10:31
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface DataSourceSwitcher {
    String value() default DataSourceKey.DEFAULT_DB;
}
